package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.model.CerSysteminitImportOfficialInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface CerSysteminitImportOfficialInfoService {

    JsonObj insertOfficeInfo(PageData pageData);

    Map<String, Object> listAllTableData(PageData pageData);

    CerSysteminitImportOfficialInfo findDataById(String id);
    int deleteDataById(String id);

    List<LinkedHashMap<String, Object>> queryAllExportDataBy(PageData pageData);

    JsonObj getNoErrorOfficeData();

    JsonObj importGJData(MultipartFile file, HttpServletResponse response, String userId);

}
